﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GroupChat2013.Plugins
{
    /// <summary>
    /// 插件描述
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class PlugDescriptionAttribute : Attribute
    {
        private string description;

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="description">插件描述</param>
        public PlugDescriptionAttribute(string description)
        {
            this.description = description;
        }

        /// <summary>
        /// 转换到字符串
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return this.description;
        }
    }
}
